package com.mrzhou.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.mrzhou.system.entity.Menu;

import java.util.List;

public interface IMenuService extends IService<Menu> {

    boolean submit(Menu menu);

    /**
     * 查询指定父级的全部子集菜单
     * @param parentId 父级的主键id
     * @return
     */
    List<Menu> treeMenuListByParentId(Long parentId);

}
